<?php
namespace app\mall\controller;
use think\db;

class Coupon{
    public function index(){
        
    }
    
    public function getVoucher(){
        
        $where['closed'] = 0;
       $coupon = DB('coupon')->where($where)->select();
       return $coupon;
    }
}

